<?php
/**
 * 任务小应用
 * (c)2010-2099
 */

!defined('Q_PATH') && exit;

class InitController extends Controller{
	
	public function init__(){
		parent::init__();

		$arrUserData=unserialize(Q::cookie('user_login'));
		if(empty($arrUserData['user_id'])){
			$GLOBALS['___login___']=false;
		}else{
			$GLOBALS['___login___']=$arrUserData;
		}

		unset($arrUserData);
	}

}
